package entity;

import lombok.Data;

import java.time.LocalDateTime;


@Data
public class WorkOrder {
    private Long id;                // 工单ID
    private Long customerId;        // 关联客户ID
    private Long businessId;        // 关联业务ID
    private Integer status;         // 状态：0-新建 1-回单 2-退单
    private LocalDateTime createTime;        // 创建时间

    // 关联对象
    private Customer customer;      // 关联客户
    private Business business;      // 关联业务
}